export default `/*自定义样式，实时生效*/

/**全局设置**/
#nice {
  font-size: 16px;
  margin: 20px 0;
  background-color: #FAFAFA; /* Light gray background */
  color: #333;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #0D47A1; /* Autobot blue border */
}

#nice p {
  line-height: 1.8;
  font-size: 16px;
  margin: 8px 0;
}

#nice a {
  color: #0D47A1; /* Autobot blue */
  border-bottom: 1px solid #0D47A1;
  text-decoration: none;
  font-weight: normal;
}

#nice a:hover {
  color: #D32F2F; /* Decepticon red */
  border-bottom: 1px solid #D32F2F;
}

/**TOC**/
#nice .table-of-contents {
  background-color: rgba(13, 71, 161, 0.1); /* Light blue background */
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #0D47A1;
}

#nice .table-of-contents::before {
  content: "文章目录";
  color: #0D47A1; /* Autobot blue */
  font-weight: bold;
  font-size: 20px;
}

#nice .table-of-contents li {
  font-size: 16px;
}

#nice .table-of-contents a {
  color: #333;
  border-bottom: none;
}

/**图片**/
#nice img {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #0D47A1;
  border-radius: 6px;
  margin: 18px auto;
}

#nice figcaption,
#nice .imageflow-caption {
  font-size: 12px;
  margin-bottom: 12px;
  margin-top: 2px;
  color: #666;
  font-weight: normal;
}

/**标题**/
#nice h1,
#nice h2,
#nice h3,
#nice h4,
#nice h5,
#nice h6 {
  margin: 30px auto 20px;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

#nice h1 {
  font-size: 28px;
  text-align: center;
  color: #0D47A1; /* Autobot blue */
  padding: 10px;
  background-color: rgba(211, 47, 47, 0.1); /* Light red background */
  border-radius: 8px;
  border: 1px solid #0D47A1;
}

#nice h2 {
  font-size: 24px;
  color: #FFFFFF;
  background-color: #0D47A1; /* Autobot blue */
  padding: 8px 15px;
  border-radius: 6px;
  border-bottom: 2px solid #072C6B; /* Darker blue */
}

#nice h3 {
  font-size: 22px;
  color: #0D47A1; /* Autobot blue */
  padding-left: 10px;
  border-left: 3px solid #D32F2F; /* Decepticon red */
}

#nice h4 {
  font-size: 20px;
  color: #D32F2F; /* Decepticon red */
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid #0D47A1; /* Autobot blue */
}

#nice h5,
#nice h6 {
  font-size: 18px;
  color: #333;
  background-color: rgba(211, 47, 47, 0.1); /* Light red background */
  padding: 5px 10px;
  border-radius: 5px;
}

/**列表**/
#nice > ul, 
#nice > ol {
  margin-top: 18px;
  margin-bottom: 18px;
}

#nice ul {
  list-style-type: disc;
}

#nice ol {
  border: 1px solid #D32F2F; /* Red border */
  border-radius: 6px;
  padding: 10px 36px;
  background-color: rgba(211, 47, 47, 0.05); /* Very light red background */
}

#nice > ul > li, 
#nice > ol > li {
  margin: 10px 0;
}

/**引用**/
#nice blockquote {
  color: #333;
  border-left: 3px solid #0D47A1; /* Autobot blue left border */
  position: relative;
  background-color: rgba(13, 71, 161, 0.05); /* Very light blue background */
  border-radius: 4px;
  padding: 10px 16px;
  margin: 18px auto;
}

#nice blockquote p {
  font-size: 16px;
}

#nice blockquote::before {
  font-family: Arial;
  content: "“";
  color: #0D47A1; /* Autobot blue */
  font-size: 30px;
  font-weight: bold;
  display: block;
  height: 20px;
}

/** 行内代码 **/
#nice p code, 
#nice li code {
  padding: 2px 4px;
  font-size: 90%;
  color: #0D47A1; /* Autobot blue text */
  background-color: #F8F8F8;
  border-radius: 4px;
  border: 1px solid #E8E8E8;
}

#nice pre {
  margin: 18px 8px;
  border-radius: 6px;
  border: 1px solid #D32F2F; /* Red border */
  background-color: #F8F8F8;
}

#nice pre code {
  border-radius: 5px;
}

/**表格**/
#nice table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #0D47A1; /* Autobot blue border */
  border-radius: 6px;
  overflow: hidden;
}

#nice table tr th {
  background-color: rgba(13, 71, 161, 0.8); /* Slightly transparent blue */
  color: #FFFFFF;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #072C6B; /* Darker blue */
}

#nice table tr:nth-child(odd) {
  background-color: rgba(211, 47, 47, 0.1); /* Very light red */
}

#nice table tr:nth-child(even) {
  background-color: #FFFFFF;
}

#nice table tr td {
  font-size: 15px;
  padding: 8px 10px;
  border: 1px solid #DDD;
}

/**分隔线**/
#nice hr {
  height: 2px;
  background: linear-gradient(to right, #0D47A1, #D32F2F); /* Blue to red gradient */
  border: none;
  margin: 20px 0;
}

/**参考资料**/
#nice .footnotes-sep {
  margin-top: 40px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 18px;
  color: #0D47A1; /* Autobot blue */
}

#nice .footnotes-sep:before {
  content: "参考资料";
  display: block;
}

/** 文章结尾 **/
#nice:after{
  content:<img src="https://www.xugj520.cn/wp-content/uploads/2025/04/扫码_搜索联合传播样式-标准色版-300x109.png" />;
  font-size:10px;
  display:block;
  text-align:center;
  margin-top:50px;
  color:#999;
  border-bottom:1px solid #eee;
}
`;